import trainingLibrary from './library/trainingLibrary'
const trainRoute = {
	path: 'train-library',
	name: 'train-library',
	redirect: '/admin/train-library/training-library',
	meta: { title: '在线学习' },
	component: () => import('@/views/Admin/shareLibrary/index.vue'),
	children: [
		trainingLibrary,
		{
			path: 'lesson-plan',
			name: 'lesson-plan',
			redirect: '/admin/train-library/lesson-plan/lesson-plan-index',
			meta: { title: '授课计划管理', type: 16 },
			component: () => import('@/layout/admin/public.vue'),
			children: [{
				path: 'lesson-plan-index',
				name: 'lesson-plan-index',
				meta: { type: 16 },
				component: () =>
					import('@/views/Admin/topicLibrary/lessonPlan/index.vue'),
			}, {
				path: 'lesson-plan-in',
				name: 'lesson-plan-in',
				meta: { type: 16 },
				component: () =>
					import('@/views/Admin/topicLibrary/lessonPlanIn/index.vue'),
			}]
		}, {
			path: 'train-course',
			name: 'train-course',
			redirect: '/admin/train-library/train-course/train-course-index',
			meta: { title: '培训班次管理', type: 16 },
			component: () => import('@/layout/admin/public.vue'),
			children: [{
				path: 'train-course-index',
				name: 'train-course-index',
				meta: { type: 16 },
				component: () => import('@/views/Admin/topicLibrary/trainCourse/index.vue'),
			}, {
				path: 'train-course-student',
				name: 'train-course-student',
				meta: { type: 16 },
				component: () => import('@/views/Admin/topicLibrary/trainCourseStudent/index.vue'),
			}]
		}
	]
}
export default trainRoute